class WelcomeController < ApplicationController

  def index
    @rooms = Room.find :all, :limit => 1
    redirect_to :controller => 'rooms', :action => 'show', :id => @rooms.first.id
  rescue ActiveRecord::RecordNotFound
    redirect_to :controller => 'sessions', :action => 'new'
  end
  
end
